package com.ruoyi.common.core.domain.entity;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 会员对象 user
 *
 * @author ruoyi
 * @date 2024-01-04
 */
@Data
public class User extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 会员ID
     */
    private Long userId;

    /**
     * 会员编号
     */
    @Excel(name = "会员编号")
    private String memberNo;

    /**
     * 会员头像
     */
    @Excel(name = "会员头像")
    private String headImg;

    /**
     * 会员级别
     */
    @Excel(name = "会员级别")
    private Integer levelValue;

    /**
     * 会员手机
     */
    @Excel(name = "会员手机")
    private String mobile;

    /**
     * 会员昵称
     */
    @Excel(name = "会员昵称")
    private String nickname;

    /**
     * 登录密码
     */
    @Excel(name = "登录密码")
    private String password;

    /**
     * 交易密码
     */
    @Excel(name = "交易密码")
    private String payPass;

    /**
     * 邀请人
     */
    @Excel(name = "邀请人")
    private Long recId;

    /**
     * 状态
     */
    @Excel(name = "状态")
    private String status;

    /**
     * 消费金额
     */
    @Excel(name = "消费金额")
    private BigDecimal consumeMoney;

    /**
     * 删除标志（0代表存在 1代表删除）
     */
    private String delFlag;

    /**
     * 级别名称
     */
    private transient String levelName;

    /**
     * 邀请人编码
     */
    private transient String recNo;

    /**
     * 状态说明
     */
    private transient String statusStr;
}
